package com.heima.wemedia.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.heima.model.admin.dtos.SensitiveDto;
import com.heima.model.admin.dtos.SensitivePageDto;
import com.heima.model.common.dtos.ResponseResult;
import com.heima.model.wemedia.pojos.WmSensitive;
import org.springframework.beans.factory.annotation.Autowired;

import java.lang.reflect.InvocationTargetException;

public interface WmSensitiveService extends IService<WmSensitive> {
    public ResponseResult create(WmSensitive wmSensitive) throws InvocationTargetException, IllegalAccessException;

    public ResponseResult del(Integer id);

    public ResponseResult findlist(SensitivePageDto sensitivePageDto);

    public ResponseResult update(SensitiveDto sensitiveDto) throws InvocationTargetException, IllegalAccessException;
}
